// MyGina.h : main header file for the MYGINA DLL
//

#if !defined(AFX_MYGINA_H__5959C4FD_1D31_4E51_B3CD_B5649C8473B7__INCLUDED_)
#define AFX_MYGINA_H__5959C4FD_1D31_4E51_B3CD_B5649C8473B7__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000

#ifndef __AFXWIN_H__
	#error include 'stdafx.h' before including this file for PCH
#endif

#include "resource.h"		// main symbols

/////////////////////////////////////////////////////////////////////////////
// CMyGinaApp
// See MyGina.cpp for the implementation of this class
//
typedef BOOL (WINAPI * NEGOTIATE)       (DWORD,PDWORD);
typedef BOOL (WINAPI * INITIALIZE)      (LPWSTR,HANDLE,PVOID,PVOID,PVOID *);
typedef BOOL (WINAPI * ACTIVATE_USHELL) (PVOID,PWSTR,PWSTR,PVOID);
typedef BOOL (WINAPI * PARAM_PVOID)     (PVOID);
typedef BOOL (WINAPI * DISP_STATUS)     (PVOID,HDESK,DWORD,PWSTR,PWSTR);
typedef BOOL (WINAPI * GET_STATUS)      (PVOID,DWORD *,PWSTR,DWORD);
typedef BOOL (WINAPI * LOGON_SAS)       (PVOID,DWORD,PVOID);
typedef BOOL (WINAPI * LOGOUT_SAS)      (PVOID,DWORD,PLUID,PSID,PDWORD,PHANDLE,PWLX_MPR_NOTIFY_INFO,PVOID *);
typedef BOOL (WINAPI * NETWORK_LOAD)    (PVOID,PWLX_MPR_NOTIFY_INFO);
typedef BOOL (WINAPI * SCR_SAVER)       (PVOID,BOOL  *);
typedef BOOL (WINAPI * SHUT_DOWN)       (PVOID,DWORD);
typedef BOOL (WINAPI * START_APP)       (PVOID,PWSTR,PVOID,PWSTR);
typedef BOOL (WINAPI * LOCKED_SAS)      (PVOID,DWORD);


class CMyGinaApp : public CWinApp
{
private:
	HMODULE   hMsDll;

public:
	NEGOTIATE         MyWlxNegotiate;
	INITIALIZE        MyWlxInitialize;
	ACTIVATE_USHELL   MyWlxActivateUserShell;
	PARAM_PVOID       MyWlxDisplayLockedNotice;
	PARAM_PVOID       MyWlxDisplaySASNotice;
	DISP_STATUS       MyWlxDisplayStatusMessage;
	GET_STATUS        MyWlxGetStatusMessage;
	PARAM_PVOID       MyWlxIsLockOk;
	PARAM_PVOID       MyWlxIsLogoffOk;
	LOGON_SAS         MyWlxLoggedOnSAS;
	LOGOUT_SAS        MyWlxLoggedOutSAS;
	PARAM_PVOID       MyWlxLogoff;
	NETWORK_LOAD      MyWlxNetworkProviderLoad;
	PARAM_PVOID       MyWlxRemoveStatusMessage;
//	SCR_SAVER         MyWlxScreenSaverNotify;
	SHUT_DOWN         MyWlxShutdown;
//	START_APP         MyWlxStartApplication;
	LOCKED_SAS        MyWlxWkstaLockedSAS;
public:
	CMyGinaApp();

// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CMyGinaApp)
	public:
	virtual BOOL InitInstance();
	virtual int ExitInstance();
	//}}AFX_VIRTUAL

	//{{AFX_MSG(CMyGinaApp)
		// NOTE - the ClassWizard will add and remove member functions here.
		//    DO NOT EDIT what you see in these blocks of generated code !
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

extern CMyGinaApp theApp;
/////////////////////////////////////////////////////////////////////////////

//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_MYGINA_H__5959C4FD_1D31_4E51_B3CD_B5649C8473B7__INCLUDED_)
